{% extends 'polls/base.html' %}

{% block title %}用于演示Form各字段表现的页面{% endblock %}

{% block content %}

<form action="{% url 'polls:form_field_show' %}" method="post">
    {% csrf_token %}
    <table>
        {{ form }}
    </table>
    <input type="submit" value="点我提交" />
</form>

{% endblock %}